<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html 	xmlns="http://www.w3.org/1999/xhtml"
		xmlns:ui="http://java.sun.com/jsf/facelets"
		xmlns:h="http://java.sun.com/jsf/html"
		xmlns:f="http://java.sun.com/jsf/core"
		xmlns:c="http://java.sun.com/jsp/jstl/core"
		xmlns:p="http://primefaces.org/ui"
		xmlns:ec="http://www.b2cexpress.com.br/ecommerce"
		xmlns:s="http://www.suricattus.com.br/jsf/ui"
		xmlns:sf="http://www.suricattus.com.br/jsf/fn">
<ui:composition>

	<h:panelGroup id="#{id}">
		<p:dialog header="#{headerDialog}" widgetVar="#{widgetVarDialog}" modal="true" dynamic="true"
				resizable="false" minimizable="false">
				<div class="row">
					<div class="span5">
						<ec:field id="#{id}Palavra" fieldId="palavraField" label="#{labels['label.palavra']}" required="true">
							<p:inputText id="palavraField" value="#{adicionarPalavraChaveController.palavra}" label="#{labels['label.nome']}" required="true" />
						</ec:field>
					</div>
				</div>
				<div class="row">
					<div class="form-actions">
						<p:commandButton value="#{labels['botao.adicionar']}" action="#{adicionarPalavraChaveController.adicionar(item)}"
							update="#{id}Palavra #{update}" styleClass="btn btn-primary" />
					</div>
				</div>
		</p:dialog> 
	</h:panelGroup>
	
</ui:composition>
</html>
